<div class="news-list-box">
<div class="row">
    {if condition="$data['cover'] neq 0"}
        <div class="col-md-4">
            <div class="topic">
                <a title="{$data.title|text}" href="{:Url('articles/index/detail',array('id'=>$data['id']))}" target="_blank" class="img-box">
                    <img alt="{$data.title|text}" src="{$data.cover|getThumbImageById=200,146}" class="img-md img-responsive">
                </a>
            </div>
        </div>
        <div class="col-md-8">
            <div class="tit">
                <h3 class="title text-more">
                    <a title="{$data.title|text}" href="{:Url('Articles/index/detail',array('id'=>$data['id']))}" target="_blank">{$data.title}</a>
                </h3>
            </div>
            <div class="con">
                <span class="author"><a href="{$data.user.space_url}">
                    <img src="{$data.user.avatar32}" class="img-circle"/>  
                    {$data.user.nickname}</a>&nbsp;&nbsp;{$data.create_time|date='Y/m/d H:i',###}
                </span>
                <p>{$data.description|msubstr=0,60,'utf-8',false}...</p>
                <div class="user_operate">
                    <span>状态：</span>
                    {if condition="$data['status'] eq 0"}
                    <span class="btn btn-mini btn-info">{$data.status_text}</span>
                    <a title="编辑" href="{:Url('articles/User/edit',['id'=>$data['id']])}" class="btn btn-mini btn-warning">
                        <i class="icon-edit"></i> 编辑
                    </a>
                    {/if}
                    {if condition="$data['status'] eq 1"}
                    <span class="btn btn-mini btn-success">{$data.status_text}</span>
                    {/if}
                    {if condition="$data['status'] eq 2"}
                    <span class="btn btn-mini btn-danger">{$data.status_text}</span>
                    
                    <a title="编辑" href="{:Url('articles/User/edit',['id'=>$data['id']])}" class="btn btn-mini btn-warning">
                        <i class="icon-edit"></i> 编辑
                    </a>
                    <a class="user_show_reason " data-toggle="popover" data-tip-class="popover-danger" title="审核失败原因" data-content="{$data.reason}">
                        显示/隐藏失败原因
                    </a>
                    {/if}
                    {if condition="$data['status'] eq -1"}
                    <span class="btn btn-mini btn-warning">{$data.status_text}</span>
                    {/if}
                </div>
            </div>
        </div>
    {else/}
        <div class="col-xs-12">
            <div class="tit">
                <h3 class="title text-more">
                    <a title="{$data.title|text}" href="{:Url('Articles/index/detail',array('id'=>$data['id']))}" target="_blank">{$data.title}</a>
                </h3>
            </div>
            <div class="con">
                <span class="author"><a href="{$data.user.space_url}">
                    <img src="{$data.user.avatar32}" class="img-circle"/>  
                    {$data.user.nickname}</a>&nbsp;&nbsp;{$data.create_time|date='Y/m/d H:i',###}
                </span>

                <p>{$data.description|msubstr=0,60,'utf-8',false}...</p>
                <div class="user_operate">
                    <span>状态：</span>
                    {if condition="$data['status'] eq 0"}
                    <span class="btn btn-mini btn-info">{$data.status_text}</span>
                    <a title="编辑" href="{:Url('articles/User/edit',['id'=>$data['id']])}" class="btn btn-mini btn-warning">
                        <i class="icon-edit"></i> 编辑
                    </a>
                    {/if}
                    {if condition="$data['status'] eq 1"}
                    <span class="btn btn-mini btn-success">{$data.status_text}</span>
                    {/if}
                    {if condition="$data['status'] eq 2"}
                    <span class="btn btn-mini btn-danger">{$data.status_text}</span>
                    
                    <a title="编辑" href="{:Url('articles/User/edit',['id'=>$data['id']])}" class="btn btn-mini btn-warning">
                        <i class="icon-edit"></i> 编辑
                    </a>
                    <a class="user_show_reason " data-toggle="popover" data-tip-class="popover-danger" title="审核失败原因" data-content="{$data.reason}">
                        显示/隐藏失败原因
                    </a>
                    {/if}
                    {if condition="$data['status'] eq -1"}
                    <span class="btn btn-mini btn-warning">{$data.status_text}</span>
                    {/if}
                </div>
            </div>
        </div>
    {/if}
</div>
</div>
